package com.example.api;

import com.example.robot.props.RobotProperties;
import com.example.robot.service.RobotService;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

@SpringBootApplication
public class Application {

    public static void main(String[] args) {
        ConfigurableApplicationContext applicationContext =
                SpringApplication.run(Application.class, args);

        System.err.println(applicationContext.getBean(RobotProperties.class));
        System.err.println(applicationContext.getBean(RobotService.class));
    }

}
